#pragma once

class CShape
{
protected:
	//Ve Main(giao dien nemu playgame)
	CPoint p;

	//ve CBitmap
	CPoint GocXY,KichThuocWH,GocSrc,KichThuocSrcWH;
	CDC *pSrcDC; DWORD dwRop;

	//ve AngleARc
	CPoint Tam;
	int BanKinh;
public:
	CShape(void);
	~CShape(void);
	virtual void Draw(CDC *pDC) = 0;
	void SetP(int x, int y);

	//CBitmap
	void SetGocXY(int x, int y);
	void SetKichThuocWH(int nWidth, int nHeight);
	void SetPSrcDC(CDC *_pSrcDC);
	void SetGocSrc(int xSrc, int ySrc);
	void SetKichThuocSrcWH(int nSrcWidth, int nSrcHeight);
	void SetDword(DWORD _dwRop);

	//AngleArc
	void SetTam(int x, int y);
	void SetBanKinh(int r);
};
